package com.ma.springframework.beans.factory.config;

import com.ma.springframework.beans.factory.HierarchicalBeanFactory;

public interface ConfigrableBeanFactory extends HierarchicalBeanFactory, SingletonBeanRegistry{
    String SCOPE_SINGLETON = "singleton";

    String SCOPE_PROTOTYPE = "prototype";

    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);
    /**
     * 销毁单例对象
     */
    void destorySingletons();

}
